Skip to content

[GR-38700] Alternative (off by default) Truffle Bytecode DSL based interpreter. #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

graalvmbot
Copy link
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 27, 2024
@DSouzaM
Copy link
Member

DSouzaM commented Feb 29, 2024

Copying description from the internal pull request, for usage information:

This PR defines an alternate bytecode interpreter implemented using the Bytecode DSL (PR).

The alternate interpreter is disabled by default, and can be switched on using the system property -Dpython.EnableBytecodeDSLInterpreter=true.

Some useful commands:

  • run on JVM: create the JVM standalone using mx python-jvm and then launch it with --vm.Dpython.EnableBytecodeDSLInterpreter=true.
  • run on NI: create a DSL-specific standalone using mx python-svm-dsl-interpreter.
  • run JUnit tests: mx punittest --no-leak-tests --use-bytecode-dsl-interpreter
  • run GraalPy tests: create a NI standalone (see above) and then mx graalpytest --python {standalone path} {file}
  • run CPython tests: mx python-run-cpython-unittest --use-bytecode-dsl-interpreter {pattern}
  • verify which interpreter is running: evaluate __graalpython__.is_bytecode_dsl_interpreter.

@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from fb9f164 to 880e2cf Compare March 8, 2024 19:51
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from b2cff2d to 57e0d30 Compare March 20, 2024 19:44
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from f7c84aa to 9cb5ef6 Compare April 10, 2024 14:25
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 2 times, most recently from f76d0c4 to 65aa761 Compare May 30, 2024 21:01
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from 65aa761 to 3163276 Compare May 31, 2024 20:32
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from 749358b to 4b05bb0 Compare June 10, 2024 13:56
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from c4c7282 to 3b93708 Compare July 8, 2024 20:23
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from f954a9c to 7992ab7 Compare July 19, 2024 19:06
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 2 times, most recently from 32d9869 to 2b3637e Compare August 23, 2024 16:15
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 9 times, most recently from ee1f00b to ae3bf90 Compare September 5, 2024 20:45
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 3 times, most recently from fc3216b to ee3ec93 Compare September 5, 2024 23:05
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 2 times, most recently from daf2fdf to 09e02b1 Compare September 18, 2024 17:49
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from 63bd40f to 450a57c Compare September 30, 2024 21:11
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 2 times, most recently from 0467c01 to 5ac8f9a Compare October 11, 2024 20:02
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 6 times, most recently from db3236a to 8b4ed95 Compare March 4, 2025 12:09
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 2 times, most recently from a6f0a88 to a78ab86 Compare March 27, 2025 13:05
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 6 times, most recently from a55915e to a180f0a Compare April 7, 2025 08:14
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch 9 times, most recently from 9aaf75b to bd48e9e Compare April 14, 2025 13:51
@graalvmbot graalvmbot force-pushed the mdsouza/GR-38700/operation-dsl branch from 38ffa4f to 9e0b08e Compare April 16, 2025 19:32
@graalvmbot graalvmbot changed the title [GR-38700] Migrate to the Bytecode DSL [GR-38700] Alternative (off by default) Truffle Bytecode DSL based interpreter. Apr 17, 2025
@graalvmbot graalvmbot closed this Apr 17, 2025
@graalvmbot graalvmbot deleted the mdsouza/GR-38700/operation-dsl branch April 17, 2025 15:44
@graalvmbot graalvmbot merged commit 6a78dd1 into master Apr 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants